QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    main.cpp \
    mainwindow.cpp \
    prio/CXSparse/CXSparseSupport/makeCXSparseMatrix.cpp \
    prio/CXSparse/CXSparseSupport/solve_from_lu.cpp \
    prio/CXSparse/CXSparseSupport/solve_from_qr.cpp \
    prio/CXSparse/CXSparseSupport/unpackCXStruct.cpp \
    prio/CXSparse/Source/cs_ci_bundle.cpp \
    prio/CXSparse/Source/cs_ri_bundle.cpp \
    prio/CXSparse/SuiteSparse_config/SuiteSparse_config.c \
    prio/CXSparseAPI.cpp \
    prio/bigProduct.cpp \
    prio/detrendIBI_priors.cpp \
    prio/detrendIBI_priors_data.cpp \
    prio/detrendIBI_priors_initialize.cpp \
    prio/detrendIBI_priors_terminate.cpp \
    prio/eml_int_forloop_overflow_check.cpp \
    prio/heapsort.cpp \
    prio/indexShapeCheck.cpp \
    prio/insertionsort.cpp \
    prio/interface/_coder_detrendIBI_priors_api.cpp \
    prio/interface/_coder_detrendIBI_priors_info.cpp \
    prio/interface/_coder_detrendIBI_priors_mex.cpp \
    prio/interp1.cpp \
    prio/introsort.cpp \
    prio/ppval.cpp \
    prio/rt_nonfinite.cpp \
    prio/sparse.cpp \
    prio/sparse1.cpp \
    prio/spdiags.cpp \
    prio/speye.cpp \
    prio/sumMatrixIncludeNaN.cpp \
    prio/warning.cpp

HEADERS += \
    mainwindow.h \
    prio/CXSparse/CXSparseSupport/coder_cs.h \
    prio/CXSparse/CXSparseSupport/cs.h \
    prio/CXSparse/CXSparseSupport/makeCXSparseMatrix.h \
    prio/CXSparse/CXSparseSupport/solve_from_lu.h \
    prio/CXSparse/CXSparseSupport/solve_from_qr.h \
    prio/CXSparse/CXSparseSupport/unpackCXStruct.h \
    prio/CXSparse/SuiteSparse_config/SuiteSparse_config.h \
    prio/CXSparseAPI.h \
    prio/anonymous_function.h \
    prio/bigProduct.h \
    prio/coder_array.h \
    prio/detrendIBI_priors.h \
    prio/detrendIBI_priors_data.h \
    prio/detrendIBI_priors_initialize.h \
    prio/detrendIBI_priors_internal_types.h \
    prio/detrendIBI_priors_terminate.h \
    prio/detrendIBI_priors_types.h \
    prio/eml_int_forloop_overflow_check.h \
    prio/heapsort.h \
    prio/indexShapeCheck.h \
    prio/insertionsort.h \
    # prio/interface/_coder_detrendIBI_priors_api.h \
    # prio/interface/_coder_detrendIBI_priors_info.h \
    # prio/interface/_coder_detrendIBI_priors_mex.h \
    prio/interface/covrt.h \
    prio/interface/emlrt.h \
    prio/interface/matrix.h \
    prio/interface/mex.h \
    prio/interface/rtwtypes.h \
    prio/interface/tmwtypes.h \
    prio/interp1.h \
    prio/introsort.h \
    prio/mwmathutil.h \
    prio/ppval.h \
    prio/rt_nonfinite.h \
    prio/rtwtypes.h \
    prio/sparse.h \
    prio/sparse1.h \
    prio/spdiags.h \
    prio/speye.h \
    prio/stack1.h \
    prio/sumMatrixIncludeNaN.h \
    prio/warning.h

FORMS += \
    mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
